package cn.chengdu.mapper;

import cn.chengdu.entity.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 科室表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-11-14
 */


@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    @Select({
            "select depid,deptype from hospital_public.department"
    })
    List<Department>selectall();


}
